<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title43</title>
    <%@include file="/WEB-INF/views/common.jsp"%>
    <script type="text/javascript" src="/static/views/role.js"></script>
</head>
<body>
<%-- 数据列表--%>
<table id="role_datagrid"></table>
<%--数据列表顶部工具栏--%>
<div id="role_datagrid_tb">
        <a class="easyui-linkbutton"  data-options="iconCls:'icon-add',plain:true" data-cmd="add">新增</a>
        <a class="easyui-linkbutton" id="editBtn"  data-options="iconCls:'icon-edit',plain:true"  data-cmd="edit">编辑</a>
        <a class="easyui-linkbutton" id="quitBtn"
           data-options="iconCls:'icon-remove',plain:true"  data-cmd="remove">删除</a>
        <a class="easyui-linkbutton"  data-options="iconCls:'icon-reload',plain:true"  data-cmd="reload">刷新</a>
</div>
<%--dialog对话框--%>
<div id="role_dialog" style="width:100%;max-width:560px;padding:15px 10px;">
    <form id="editForm" method="post">
        <input type="hidden" name="id"/>
         <table>
             <tr>
                 <td> <input class="easyui-textbox" name="name" style="width:100%" data-options="label:'角色名称:'"> </td>
                 <td><input class="easyui-textbox" name="sn" style="width:100%" data-options="label:'角色编码:'"></td>
             </tr>
             <tr>
                 <td><table id="allPermission_datagrid"></table></td>
                 <td><table id="selfPermission_datagrid"></table></td>
             </tr>
         </table>
    </form>
</div>
<%--对话框底部工具栏--%>
<div id="role_dialog_bt">
    <a class="easyui-linkbutton"   data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
    <a class="easyui-linkbutton"  data-options="iconCls:'icon-cancel',plain:true"  data-cmd="cancel">取消</a>
</div>
</body>
</html>
